package com.kunkun.auth.domain.service;

import com.kunkun.auth.domain.bo.AuthPermissionBO;
import com.kunkun.auth.domain.bo.AuthUserBO;

import java.util.List;

public interface AuthPermissionDomainService {

    /**
     * 注册
     */
    Boolean add(AuthPermissionBO authPermissionBO);

    /**
     * 更新用户信息
     */
    Boolean update(AuthPermissionBO authPermissionBO);

    /**
     * 删除用户信息
     */
    Boolean delete(AuthPermissionBO authPermissionBO);

//    SaTokenInfo doLogin(String validCode);

    AuthUserBO getUserInfo(AuthUserBO authUserBO);

    List<AuthUserBO> listUserInfoByIds(List<String> ids);

    List<String> getPermission(String userName);
}



